<script>
	export default {
		onLaunch: function() {
			console.log('App Launch');
			let {
				statusBarHeight,
				osName,
				app,
			} = uni.getSystemInfoSync();
			if (osName != 'ios') {
				return
			}
			this.globalData.statusBarHeight = statusBarHeight;
			this.globalData.osName = osName;
			console.log(osName, '==================设备型号===================');
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalData: {
			statusBarHeight: 0,
			osName:''
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';
	@import '@/common/style/common.scss';

	// 设置整个项目的背景色
	page {
		background-color: #ffffff;
	}

	/* #endif */
	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}
</style>